var sql = """
SELECT
<#list returnlist as i>${i}<#sep>,</#list>
FROM
${tablename}
WHERE
<#list condidt as condid>
    ${condid[0]} = <#if condid[1] == 'String'>${r"'${"}${condid[0]}}'<#else>${r"${"}${condid[0]}}</#if>
    <#sep>AND
</#list>
""";

return db.myweb.select(sql);